﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/9/24 14:56:33
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace SurfaceAd.Entities.Ad
{

    [DataContract]
    internal sealed class AdResponse
    {
        [DataMember(Name = "code")]
        public string Code { get; set; }

        [DataMember(Name = "val")]
        public string Val { get; set; }

        [DataMember(Name = "type")]
        public string Type { get; set; }

        [DataMember(Name = "data")]
        public string Data { get; set; }

        [IgnoreDataMember]
        public AdType AdContentType { get; set; }

        [IgnoreDataMember]
        public AdJumpType AdContentJumpType { get; set; }

        [IgnoreDataMember]
        public AdResponseImage AdImage { get; set; }

        [IgnoreDataMember]
        public AdResponseVideo AdVideo { get; set; }

        [IgnoreDataMember]
        public AdResponseRich AdRich { get; set; }

        [IgnoreDataMember]
        public AdResponseText AdText { get; set; }
    }
}
